package com.huawang.mdesign.model.service.request;

import com.huawang.business.constants.ParamErrorConstants;
import com.huawang.business.dto.ProjectIdDTO;
import com.huawang.mdesign.model.service.dto.MessageEndChangeInfo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @author baibf
 * @description 消息端变更DTO
 * @date 2024/7/25 10:55
 **/
@Data
public class MessageEndChangeDTO extends ProjectIdDTO {

    @NotBlank(message = ParamErrorConstants.NO_PROJECT_ID)
    private String projectId;

    @Schema(title = "消息端变更信息")
    private List<MessageEndChangeInfo> messageEndChangeInfos;
}
